Ext.define('Emp.view.Viewer', {
    extend: 'Ext.tab.Panel',
    alias: 'widget.xviewer',
    
    requires: [
    	'Ext.ux.TabCloseMenu'
	],

	bodyStyle: {borderStyle:'none'},
	
    initComponent: function() {
    	Ext.apply(this, {
    		items: [{
    			xtype: 'panel',
				title: '主&nbsp;&nbsp;页'
			}],
    		plugins: Ext.create('Ext.ux.TabCloseMenu', {
    			closeTabText: '关闭标签',
    			closeOthersTabsText: '关闭其他标签',
    			closeAllTabsText: '关闭所有标签'
    		})
    	});
        this.callParent();
    }
});